from appium.webdriver.common.mobileby import MobileBy

from APP_UI_TEST.contacts_podemo.base.base_page import BasePage
from APP_UI_TEST.contacts_podemo.page.add_member_page import AddMemberPage


class MemberManagementPage(BasePage):
    """ 成员管理页 """

    def click_add_member_by_input(self):
        """点击链接：手动输入添加"""
        self.driver.find_element(MobileBy.XPATH, "//*[@text='手动输入添加']").click()
        return AddMemberPage(self.driver)


